package com.ysd.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ysd.entity.Shoppingguide;
import com.ysd.service.ShoppingguideService;

@Controller
public class ShoppingguideController {
	@Autowired
	private ShoppingguideService shoppingguideService;
	@RequestMapping("getshoppingguide")
	@ResponseBody
	public Object getshoppingguide(){
		List<Shoppingguide> list=shoppingguideService.getShoppingguide();
		return list;
		
	}
}
